#!/bin/bash

# /bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_thai.launch;"

case $RR_ID in
qtruck[1-3])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_thai.launch;"
;;
qtruck[4-5])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_thai_new_vehicleparam.launch;"
;;
qtruck[6])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_thai.launch;"
;;
qtruck[1][1-6])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_abuzhabi.launch max_speed:=6;"
;;
qtruck[1][7])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_dibai.launch max_speed:=2.5 realtime:=0;"
;;
qtruck[1][8-9]|qtruck_en[3-4])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_yingguo.launch max_speed:=3 realtime:=0;"
;;
qtruck[2][1-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_thai_huandian.launch;"
;;
qtruck[3][5-6])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_malai.launch realtime:=1 max_speed:=3;"
;;
# qtruck[3][1-9])
# /bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_qingpu.launch realtime:=0 max_speed:=2;"
# ;;
qtruck[4][0-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_qingpu.launch realtime:=0 max_speed:=2;"
;;
igv[1])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_qingpu_igv.launch realtime:=0 max_speed:=1;"
;;
igv1050)
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch routing routing_dalian.launch realtime:=0 max_speed:=2;"
;;
esac
